#ifndef ACCOUNTPROFILEREQUEST_H
#define ACCOUNTPROFILEREQUEST_H

#include "network/networkgetjsonrequest.h"
#include "accountprofileresponse.h"

#include <QObject>
#include <QUrl>

namespace Account {
class ProfileResponse;
class ProfileRequest : public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit ProfileRequest(const int &userId, const QString &sessionKey, QObject *parent = 0);

private:
    Network::JSONResponse &jsonResponse();
public:
    const Network::JSONResponse &jsonResponse() const;
    QUrl url() const;
private:
    ProfileResponse *m_response;
    int m_userId;
    QString m_sessionKey;
};

}

#endif // ACCOUNTPROFILEREQUEST_H
